import React,{PureComponent} from 'react';
import Title from './title';
import Create from './create';
import Todos from './todos';
import State from './state';
import "./index.css";

class App extends PureComponent {
  state = {
      data:[
          {
            id: 0,
            txt: "数据内容",
            done: false
          }
      ]
  }
  
  render(){
    return (<div id="todoapp">
        <Title />
        <div className="content">
            <Create />    
            <Todos />
            <State />
        </div>
    </div>)
  }
}

export default App;
